import modules from '@modules';

let store = {};
modules.filter(module => module !== 'package').forEach(module => {
    let data = require(`../../${ module }/store/modules`).default;
    Object.keys(data).forEach(key => {
        store[key] = data[key];
    });
});
export default store;
